import Layout from "@/layout/index.vue";

const dataRoutes = [
    {
        path: '/data',
        name: 'Data',
        component: Layout,
        meta: {
            title: '数据管理',
        },
        children: [
            {
                path: 'field',
                name: 'Field',
                component: () => import('@/views/data/field/index.vue'),
                meta: {
                    title: '字段管理',
                }
            },
            {
                path: 'dict',
                name: 'Dict',
                component: () => import('@/views/data/dict/index.vue'),
                meta: {
                    title: '字典管理',
                }
            },
            {
                path: "dictType",
                name: "DictType",
                component: () => import('@/views/data/dictType/index.vue'),
                meta: {
                    title: "字典类型管理",
                }
            }
        ],
    }
];

export default {
    sort: 1,
    routes: dataRoutes,
}